package omp.syst.eng;

import java.awt.image.*;

public class SystemEngine {

	private Bufferer bufferer;
	private Enhancer enhancer;
	
	public SystemEngine(){
		
		bufferer = new Bufferer();
		enhancer = new Enhancer();
	}
	
	public BufferedImage ignite( BufferedImage img ){
		
		bufferer.captureImage( img );
		
		return bufferer.getImage();
	}
	
	public BufferedImage enhanceImage( int opt ){
		
		enhancer.setImage( bufferer.getImage() );
		enhancer.enhance( opt );
		
		return enhancer.getImage();
	}
}
